salary=2000
sale=int(input("请输入销售额："))
if sale % 1000 ==0:
    k=sale/1000
else:
    k=sale/1000+1
    if k>3 and k<=7:
        salary +=sale*0.1
    elif k>7 and k<10:
        salary+=sale*0.15
    elif k>10:
        salary +=sale*0.2
s=salary+sale
print("s：{}".format(salary))